package com.library.entity;

import java.util.Date;

public class User {
    private Long id;
    private String userName;
    private String password;
    private String fullName;
    private String email;
    private String phoneNo;
    private boolean locked;
    private Date createTime;

    public User(){}

    public User(Long id, String userName, String password, String fullName, String email, String phoneNo, boolean locked, Date createTime) {
        this.id = id;
        this.userName = userName;
        this.password = password;
        this.fullName = fullName;
        this.email = email;
        this.phoneNo = phoneNo;
        this.locked = locked;
        this.createTime = createTime;
    }

    public Long getId(){return id;}
    public void setId(Long id) {this.id = id;}

    public String getUserName(){return userName;}
    public void setUserName(String userName){this.userName = userName;}

    public String getPassword(){return password;}
    public void setPassword(String password){this.password = password;}

    public String getFullName(){return fullName;}
    public void setFullName(String fullName){this.fullName = fullName;}

    public String getEmail(){return email;}
    public void setEmail(String email){this.email = email;}

    public String getPhoneNo(){return phoneNo;}
    public void setPhoneNo(String phoneNo){this.phoneNo = phoneNo;}

    public boolean isLocked(){return locked;}
    public void setLocked(boolean locked){this.locked = locked;}

    public Date getCreateTime(){return createTime;}
    public void setCreateTime(Date createTime){this.createTime = createTime;}
}
